| @@ -383,7 +383,7 @@ | ||
| 383 | 383 | } | 
| 384 | 384 |  | 
| 385 | 385 | // Initializes and opens PhotoSwipe | 
| 386 | -        $('#photos img').click(function () { | |
| 386 | +        $(document).on('click', '#photos img', function(){ | |
| 387 | 387 |              $('#qrscan').hide(); | 
| 388 | 388 |  | 
| 389 | 389 |              curIdx = parseInt($(this).attr('data-idx')); |